package com.teensoft.core.user;

import java.io.Serializable;
import java.sql.Clob;
import java.util.HashSet;
import java.util.Set;

public class Role implements Serializable {
	private static final long serialVersionUID = 7668836007832666382L;
	
	private String id = "";
	private String name = "";
	private Clob description = null;
	private Set<User> users = new HashSet<User>();
	private Set<Permission> permission = new HashSet<Permission>();
	
	public String getId() {
		return id;
	}
	public void setId(String id) {
		this.id = id;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public Clob getDescription() {
		return description;
	}
	public void setDescription(Clob description) {
		this.description = description;
	}
	public Set<User> getUsers() {
		return users;
	}
	public void setUsers(Set<User> users) {
		this.users = users;
	}
	public Set<Permission> getPermission() {
		return permission;
	}
	public void setPermission(Set<Permission> permission) {
		this.permission = permission;
	}
}
